/*
 * @Author: 张小平
 * @Date:   2025-05-01 
 * @Email:  qqshuqian@163.com 
 * @Copyright © 2024 aseyun. All rights reserved.
 */
export const tableOption = {
    "border": true,
    "index": true,
    "indexLabel": "#",
    "stripe": true,
    "menuAlign": "center",
    grid: window.isMobile,
    gridSpan: 24,
    "align": "center",
    "searchMenuSpan": 6,
    searchEnter:true,
    editBtn: false,
    delBtn: false,
    "column": [

        {
            "type": "input",
            "label": "标题",
            "prop": "businessTitle",
            'search': true,
            "span": 12
        },
        {
            "type": "input",
            "label": "摘要",
            "prop": "summary",
            'search': false,
            "span": 12
        },
        {
            "type": "input",
            "label": "流程实例名",
            "prop": "processInstanceName",
            'search': false,
            "span": 12
        },
        {
            "type": "input",
            "label": "任务名称",
            "prop": "taskName",
            'search': false,
            "span": 12
        }
        ,
        {
            "type": "input",
            "label": "执行人",
            "prop": "taskAssigneeName",
            'search': false,
            "span": 12,
            formatter:(val,value,label)=> {
                return   val.taskAssigneeName || val.lastExecutorName;
            }

        }
        ,
        {
            "type": "input",
            "label": "流程状态",
            "prop": "processStatus",
            'search': false,

        }
        ,
        {
            "type": "datetime",
            "label": "发起时间",
            "prop": "taskCreateTime",
            format: 'YYYY/MM/DD hh:mm',
            valueFormat: 'YYYY-MM-DD hh:mm',
            'search': false,
        }
    ]
}
